package com.st.mapper;

import java.util.List;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.st.domain.StRiskAssessmentQuestions;

/**
 * 风险体检题目Mapper接口
 *
 * @author zhw
 * @date 2024-10-24
 */
public interface StRiskAssessmentQuestionsMapper extends BaseMapper<StRiskAssessmentQuestions> {
    /**
     * 查询风险体检题目
     *
     * @param id 风险体检题目主键
     * @return 风险体检题目
     */
    public StRiskAssessmentQuestions selectStRiskAssessmentQuestionsById(Integer id);

    /**
     * 查询风险体检题目列表
     *
     * @param stRiskAssessmentQuestions 风险体检题目
     * @return 风险体检题目集合
     */
    public List<StRiskAssessmentQuestions> selectStRiskAssessmentQuestionsList(StRiskAssessmentQuestions stRiskAssessmentQuestions);

    /**
     * 新增风险体检题目
     *
     * @param stRiskAssessmentQuestions 风险体检题目
     * @return 结果
     */
    public int insertStRiskAssessmentQuestions(StRiskAssessmentQuestions stRiskAssessmentQuestions);

    /**
     * 修改风险体检题目
     *
     * @param stRiskAssessmentQuestions 风险体检题目
     * @return 结果
     */
    public int updateStRiskAssessmentQuestions(StRiskAssessmentQuestions stRiskAssessmentQuestions);

    /**
     * 删除风险体检题目
     *
     * @param id 风险体检题目主键
     * @return 结果
     */
    public int deleteStRiskAssessmentQuestionsById(Integer id);

    /**
     * 批量删除风险体检题目
     *
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteStRiskAssessmentQuestionsByIds(Integer[] ids);
}